﻿using HamcoWcs.Entitys.BaseConfigs;
using HamcoWcs.Entitys.DbInfos;
using HamcoWcs.Entitys.DeviceErrors;
using HamcoWcs.Entitys.DeviceMsgQueues;
using HamcoWcs.Entitys.Devices;
using HamcoWcs.Entitys.EdgeInfos;
using HamcoWcs.Entitys.LcdInfos;
using HamcoWcs.Entitys.Logs;
using HamcoWcs.Entitys.MainTaskBaks;
using HamcoWcs.Entitys.MainTasks;
using HamcoWcs.Entitys.MenuInfos;
using HamcoWcs.Entitys.MesMsgQueues;
using HamcoWcs.Entitys.MonitorInfos;
using HamcoWcs.Entitys.NodeInfos;
using HamcoWcs.Entitys.PathInfos;
using HamcoWcs.Entitys.PconInfos;
using HamcoWcs.Entitys.PlayBacks;
using HamcoWcs.Entitys.PlcInfos;
using HamcoWcs.Entitys.RoleInfos;
using HamcoWcs.Entitys.RoleMenus;
using HamcoWcs.Entitys.SubTaskBaks;
using HamcoWcs.Entitys.SubTasks;
using HamcoWcs.Entitys.TaskAmounts;
using HamcoWcs.Entitys.UserInfos;
using HamcoWcs.Entitys.WcsLocations;
using Microsoft.EntityFrameworkCore;

/*
using HamcoWcs.Entitys.WmsStocks;
using HamcoWcs.Entitys.WmsOutboundTasks;
using HamcoWcs.Entitys.WmsOutboundOrders;
using HamcoWcs.Entitys.WmsInventoryTasks;
using HamcoWcs.Entitys.WmsInboundTasks;
using HamcoWcs.Entitys.WmsInboundTaskBaks;
using HamcoWcs.Entitys.WmsMsgLogBaks;
using HamcoWcs.Entitys.WmsMsgLogs;
using HamcoWcs.Entitys.WmsMsgConfigs;
using HamcoWcs.Entitys.WmsMsgQueues;
using HamcoWcs.Entitys.WmsManageLogs;
using HamcoWcs.Entitys.WmsOutboundOrderBaks;
using HamcoWcs.Entitys.WmsOutboundTaskBaks;
using HamcoWcs.Entitys.WmsLocMoveTasks;
using HamcoWcs.Entitys.WmsLocMoveTaskBaks;
using HamcoWcs.Entitys.WmsInventoryTaskBaks;
using HamcoWcs.Entitys.WmsInventoryOrderBaks;
using HamcoWcs.Entitys.WmsInventoryLosses;
using HamcoWcs.Entitys.WmsInventoryOrders;
*/

namespace HamcoWcs.DAL
{
    public partial class WcsDbContext : DbContext
    {

        public WcsDbContext(DbContextOptions<WcsDbContext> options) : base(options)
        {

        }
        public DbSet<UserInfo> UserInfos { get; set; }
        public DbSet<RoleInfo> RoleInfos { get; set; }
        public DbSet<MenuInfo> MenuInfos { get; set; }
        public DbSet<RoleMenu> RoleMenus { get; set; }



        public DbSet<MesMsgQueue> MesMsgQueues { get; set; }
        public DbSet<MesMsgLog> MesMsgLogs { get; set; }

        public DbSet<Raster> Rasters { get; set; }
        public DbSet<SrmInfo> SrmInfos { get; set; }

        //public DbSet<WcsBuffer> WcsBuffers { get; set; }
        public DbSet<AlarmExplanation> AlarmExplanations { get; set; }
        public DbSet<PlayBack> PlayBacks { get; set; }

        //Auto Generate
        public DbSet<LcdInfo> LcdInfos { get; set; }
        public DbSet<PconInfo> PconInfos { get; set; }

        public DbSet<WcsRunLog> WcsRunLogs { get; set; }

        public DbSet<DeviceErrorLog> DeviceErrorLogs { get; set; }
        public DbSet<SystemErrorLog> SystemErrorLogs { get; set; }
        public DbSet<WcsLocation> WcsLocations { get; set; }
        public DbSet<OperationLog> OperationLogs { get; set; }
        public DbSet<SubTaskBak> SubTaskBaks { get; set; }
        public DbSet<SubTask> SubTasks { get; set; }
        public DbSet<MainTaskBak> MainTaskBaks { get; set; }
        public DbSet<MainTask> MainTasks { get; set; }
        public DbSet<LoginLog> LoginLogs { get; set; }
        public DbSet<DbInfo> DbInfos { get; set; }
        public DbSet<PlcInfo> PlcInfos { get; set; }

        public DbSet<DeviceErrorQueue> DeviceErrorQueues { get; set; }

        public DbSet<DeviceMsgLog> DeviceMsgLogs { get; set; }
        public DbSet<MonitorInfo> MonitorInfos { get; set; }
        //public DbSet<LedMsgQueue> LedMsgQueues { get; set; }
        //public DbSet<LedInfo> LedInfos { get; set; }
        public DbSet<DeviceMsgQueue> DeviceMsgQueues { get; set; }
        public DbSet<EdgeInfo> EdgeInfos { get; set; }
        public DbSet<PathInfo> PathInfos { get; set; }
        public DbSet<NodeInfo> NodeInfos { get; set; }
        public DbSet<BaseConfig> BaseConfigs { get; set; }
        public DbSet<MachineState> MachineStates { get; set; }
        //public DbSet<MailMsgQueues> MailMsgQueues { get; set; }


        //public DbSet<WcsRunLogBak> WcsRunLogBaks { get; set; }
        //public DbSet<DeviceErrorLogBak> DeviceErrorLogBaks { get; set; }
        //public DbSet<DeviceMsgLogBak> DeviceMsgLogBaks { get; set; }
        /*
        public DbSet<WmsStock> WmsStocks { get; set; }
        public DbSet<WmsOutboundTask> WmsOutboundTasks { get; set; }
        public DbSet<WmsOutboundTaskBak> WmsOutboundTaskBaks { get; set; }

        public DbSet<WmsOutboundOrder> WmsOutboundOrders { get; set; }
        public DbSet<WmsOutboundOrderBak> WmsOutboundOrderBaks { get; set; }

        public DbSet<WmsInventoryTask> WmsInventoryTasks { get; set; }
        public DbSet<WmsInventoryTaskBak> WmsInventoryTaskBaks { get; set; }

        public DbSet<WmsInventoryOrder> WmsInventoryOrders { get; set; }

        public DbSet<WmsInventoryOrderBak> WmsInventoryOrderBaks { get; set; }

        public DbSet<WmsInboundTask> WmsInboundTasks { get; set; }
        public DbSet<WmsInboundTaskBak> WmsInboundTaskBaks { get; set; }

        public DbSet<WmsLocMoveTaskBak> WmsLocMoveTaskBaks { get; set; }

        public DbSet<WmsLocMoveTask> WmsLocMoveTasks { get; set; }

        public DbSet<WmsMsgLogBak> WmsMsgLogBaks { get; set; }
        public DbSet<WmsMsgLog> WmsMsgLogs { get; set; }
        public DbSet<WmsManageLog> WmsManageLogs { get; set; }
        public DbSet<WmsMsgConfig> WmsMsgConfigs { get; set; }
        public DbSet<WmsMsgQueue> WmsMsgQueues { get; set; }
        public DbSet<WmsInventoryLoss> WmsInventoryLoss { get; set; }
        */
        //public DbSet<MsgInfoGroupConfig> MsgInfoGroupConfigs { get; set; }
        //public DbSet<MsgInfoConfig> MsgInfoConfigs { get; set; }

        public DbSet<TaskAmount> TaskAmounts { get; set; }

    }
}
